package com.lanou.horo.zhuizhui.entity;

import java.util.List;

/**
 * Created by dllo on 15/11/2.
 */
public class RecentComicsItem {

    /**
     * errorCode : 0
     * theme : {"id":39,"cover":"","name":"最近更新","url":"zzComic://L.CL.com/39/S","title":"","comment_count":0,"up_count":0,"inner_cover":null,"description":""}
     * total : 18174
     * comics : [{"id":1519,"name":"Inferno","author":"松本友","cover_img":"http://image.zhuizhuiimg.com//image/1042_1429504873.jpg","finished":0,"last_volume":"12话","last_volume_updated_at":1446459267,"category_name":"少女爱情","favorite_count":6400,"topic_count":161,"read_mode":0,"have_resource":1,"have_comic_review":1,"comic_score":9,"review_count":"1"},{"id":39042,"name":"星座萌萌哒","author":"飞淘小胖","cover_img":"http://image.zhuizhuiimg.com//image/230818_1431421898.jpg","finished":0,"last_volume":"49话","last_volume_updated_at":1446458461,"category_name":"四格","favorite_count":1216,"topic_count":36,"read_mode":0,"have_resource":1,"have_comic_review":0,"comic_score":0,"review_count":"0"},{"id":40523,"name":"拜托你快死吧","author":"佚名","cover_img":"http://image.zhuizhuiimg.com//image/748055_1445931063.jpg","finished":0,"last_volume":"3话","last_volume_updated_at":1446457510,"category_name":"冒险","favorite_count":182,"topic_count":7,"read_mode":0,"have_resource":1,"have_comic_review":1,"comic_score":10,"review_count":"1"},{"id":40471,"name":"帮帮忙劫先森","author":"佚名","cover_img":"http://image.zhuizhuiimg.com//image/705053_1445328526.jpg","finished":0,"last_volume":"11话","last_volume_updated_at":1446457510,"category_name":"同人","favorite_count":315,"topic_count":12,"read_mode":0,"have_resource":1,"have_comic_review":1,"comic_score":10,"review_count":"2"},{"id":40436,"name":"WTF","author":"waltre","cover_img":"http://image.zhuizhuiimg.com//image/667858_1444815452.jpg","finished":0,"last_volume":"52话","last_volume_updated_at":1446457510,"category_name":"搞笑,同人","favorite_count":592,"topic_count":19,"read_mode":0,"have_resource":1,"have_comic_review":1,"comic_score":9,"review_count":"5"},{"id":24217,"name":"劫和辛德拉的日常","author":"팬텀크로","cover_img":"http://image.zhuizhuiimg.com//image/19770_1429512083.jpg","finished":0,"last_volume":"第03部13","last_volume_updated_at":1446457510,"category_name":"冒险,推理,同人","favorite_count":2123,"topic_count":103,"read_mode":1,"have_resource":1,"have_comic_review":1,"comic_score":9.9,"review_count":"11"},{"id":348,"name":"Americano-exodus","author":"박지은(朴智恩)","cover_img":"http://image.zhuizhuiimg.com//image/278_1429504475.jpg","finished":0,"last_volume":"50话","last_volume_updated_at":1446457510,"category_name":"冒险,魔法,其他","favorite_count":9697,"topic_count":221,"read_mode":1,"have_resource":1,"have_comic_review":1,"comic_score":8.9,"review_count":"8"},{"id":28034,"name":"潘潘达第二季","author":"潘潘达工作室","cover_img":"http://image.zhuizhuiimg.com//image/22477_1429512296.jpg","finished":0,"last_volume":"S3-53","last_volume_updated_at":1446456916,"category_name":"搞笑,国产漫画","favorite_count":2787,"topic_count":150,"read_mode":0,"have_resource":1,"have_comic_review":1,"comic_score":10,"review_count":"6"},{"id":36409,"name":"青岚之舞","author":"pushmylove","cover_img":"http://image.zhuizhuiimg.com//image/30371_1429512848.jpg","finished":0,"last_volume":"一发入魂","last_volume_updated_at":1446454137,"category_name":"冒险,百合,少年热血","favorite_count":872,"topic_count":36,"read_mode":1,"have_resource":1,"have_comic_review":0,"comic_score":0,"review_count":"0"},{"id":39683,"name":"魔法少女奈叶ViVid LIFE Advance","author":"ねことうふ","cover_img":"http://image.zhuizhuiimg.com//image/331250_1438146945.jpg","finished":0,"last_volume":"7话","last_volume_updated_at":1446450312,"category_name":"百合,四格","favorite_count":350,"topic_count":6,"read_mode":0,"have_resource":1,"have_comic_review":0,"comic_score":0,"review_count":"0"},{"id":13032,"name":"机动战士高达THUNDERBOLT","author":"太田垣康男","cover_img":"http://image.zhuizhuiimg.com//image/10593_1429511472.jpg","finished":0,"last_volume":"15话","last_volume_updated_at":1446450312,"category_name":"科幻,机战,少年热血","favorite_count":3044,"topic_count":31,"read_mode":0,"have_resource":1,"have_comic_review":0,"comic_score":0,"review_count":"0"},{"id":2178,"name":"ReRe Hello","author":"南塔子","cover_img":"http://image.zhuizhuiimg.com//image/1512_1429505132.jpg","finished":0,"last_volume":"32话","last_volume_updated_at":1446450312,"category_name":"少女爱情,校园","favorite_count":50009,"topic_count":781,"read_mode":0,"have_resource":1,"have_comic_review":1,"comic_score":9.9,"review_count":"15"},{"id":39517,"name":"木木子漫画","author":"喵线团","cover_img":"http://image.zhuizhuiimg.com//image/312080_1436783683.jpg","finished":0,"last_volume":"253话","last_volume_updated_at":1446449875,"category_name":"搞笑,治愈","favorite_count":874,"topic_count":28,"read_mode":0,"have_resource":1,"have_comic_review":1,"comic_score":10,"review_count":"5"},{"id":40015,"name":"木奇灵之绿影战灵漫画","author":"博润通","cover_img":"http://image.zhuizhuiimg.com//image/532361_1442917649.jpg","finished":0,"last_volume":"76话","last_volume_updated_at":1446443025,"category_name":"生活","favorite_count":49,"topic_count":2,"read_mode":0,"have_resource":1,"have_comic_review":0,"comic_score":0,"review_count":"0"},{"id":40014,"name":"公交男女爆笑漫画","author":"博润通","cover_img":"http://image.zhuizhuiimg.com//image/532355_1442917559.jpg","finished":0,"last_volume":"76话","last_volume_updated_at":1446442947,"category_name":"搞笑","favorite_count":367,"topic_count":8,"read_mode":1,"have_resource":1,"have_comic_review":0,"comic_score":0,"review_count":"0"},{"id":39652,"name":"刀剑乱舞同人集","author":"多人","cover_img":"http://image.zhuizhuiimg.com//image/515665_1442574657.jpg","finished":0,"last_volume":"【鹤一期】独占欲by点C全年冬眠","last_volume_updated_at":1446442710,"category_name":"同人,宅男腐女","favorite_count":14297,"topic_count":687,"read_mode":1,"have_resource":1,"have_comic_review":1,"comic_score":9.3,"review_count":"23"},{"id":17581,"name":"终结的炽天使","author":"镜贵也","cover_img":"http://image.zhuizhuiimg.com//image/14380_1429511720.jpg","finished":0,"last_volume":"四格08话","last_volume_updated_at":1446438853,"category_name":"冒险,奇幻,科幻,少年热血,轻小说","favorite_count":101983,"topic_count":5990,"read_mode":0,"have_resource":1,"have_comic_review":1,"comic_score":9.5,"review_count":"155"},{"id":39361,"name":"星火","author":"DC Comics","cover_img":"http://image.zhuizhuiimg.com//image/273662_1433932855.jpg","finished":0,"last_volume":"5卷","last_volume_updated_at":1446438648,"category_name":"冒险,魔法","favorite_count":313,"topic_count":14,"read_mode":0,"have_resource":1,"have_comic_review":0,"comic_score":0,"review_count":"0"}]
     */

    private int errorCode;
    private ThemeEntity theme;
    private String total;
    private List<ComicsEntity> comics;

    public void setErrorCode(int errorCode) {
        this.errorCode = errorCode;
    }

    public void setTheme(ThemeEntity theme) {
        this.theme = theme;
    }

    public void setTotal(String total) {
        this.total = total;
    }

    public void setComics(List<ComicsEntity> comics) {
        this.comics = comics;
    }

    public int getErrorCode() {
        return errorCode;
    }

    public ThemeEntity getTheme() {
        return theme;
    }

    public String getTotal() {
        return total;
    }

    public List<ComicsEntity> getComics() {
        return comics;
    }

    public static class ThemeEntity {
        /**
         * id : 39
         * cover :
         * name : 最近更新
         * url : zzComic://L.CL.com/39/S
         * title :
         * comment_count : 0
         * up_count : 0
         * inner_cover : null
         * description :
         */

        private int id;
        private String cover;
        private String name;
        private String url;
        private String title;
        private int comment_count;
        private int up_count;
        private Object inner_cover;
        private String description;

        public void setId(int id) {
            this.id = id;
        }

        public void setCover(String cover) {
            this.cover = cover;
        }

        public void setName(String name) {
            this.name = name;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public void setComment_count(int comment_count) {
            this.comment_count = comment_count;
        }

        public void setUp_count(int up_count) {
            this.up_count = up_count;
        }

        public void setInner_cover(Object inner_cover) {
            this.inner_cover = inner_cover;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public int getId() {
            return id;
        }

        public String getCover() {
            return cover;
        }

        public String getName() {
            return name;
        }

        public String getUrl() {
            return url;
        }

        public String getTitle() {
            return title;
        }

        public int getComment_count() {
            return comment_count;
        }

        public int getUp_count() {
            return up_count;
        }

        public Object getInner_cover() {
            return inner_cover;
        }

        public String getDescription() {
            return description;
        }
    }

    public static class ComicsEntity {
        /**
         * id : 1519
         * name : Inferno
         * author : 松本友
         * cover_img : http://image.zhuizhuiimg.com//image/1042_1429504873.jpg
         * finished : 0
         * last_volume : 12话
         * last_volume_updated_at : 1446459267
         * category_name : 少女爱情
         * favorite_count : 6400
         * topic_count : 161
         * read_mode : 0
         * have_resource : 1
         * have_comic_review : 1
         * comic_score : 9
         * review_count : 1
         */

        private int id;
        private String name;
        private String author;
        private String cover_img;
        private int finished;
        private String last_volume;
        private long last_volume_updated_at;
        private String category_name;
        private int favorite_count;
        private int topic_count;
        private int read_mode;
        private int have_resource;
        private int have_comic_review;
        private float comic_score;
        private String review_count;



        public void setId(int id) {
            this.id = id;
        }

        public void setName(String name) {
            this.name = name;
        }

        public void setAuthor(String author) {
            this.author = author;
        }

        public void setCover_img(String cover_img) {
            this.cover_img = cover_img;
        }

        public void setFinished(int finished) {
            this.finished = finished;
        }

        public void setLast_volume(String last_volume) {
            this.last_volume = last_volume;
        }

        public void setLast_volume_updated_at(int last_volume_updated_at) {
            this.last_volume_updated_at = last_volume_updated_at;
        }

        public void setCategory_name(String category_name) {
            this.category_name = category_name;
        }

        public void setFavorite_count(int favorite_count) {
            this.favorite_count = favorite_count;
        }

        public void setTopic_count(int topic_count) {
            this.topic_count = topic_count;
        }

        public void setRead_mode(int read_mode) {
            this.read_mode = read_mode;
        }

        public void setHave_resource(int have_resource) {
            this.have_resource = have_resource;
        }

        public void setHave_comic_review(int have_comic_review) {
            this.have_comic_review = have_comic_review;
        }

        public void setComic_score(int comic_score) {
            this.comic_score = comic_score;
        }

        public void setReview_count(String review_count) {
            this.review_count = review_count;
        }

        public int getId() {
            return id;
        }

        public String getName() {
            return name;
        }

        public String getAuthor() {
            return author;
        }

        public String getCover_img() {
            return cover_img;
        }

        public int getFinished() {
            return finished;
        }

        public String getLast_volume() {
            return last_volume;
        }

        public long getLast_volume_updated_at() {
            return last_volume_updated_at;
        }

        public String getCategory_name() {
            return category_name;
        }

        public int getFavorite_count() {
            return favorite_count;
        }

        public int getTopic_count() {
            return topic_count;
        }

        public int getRead_mode() {
            return read_mode;
        }

        public int getHave_resource() {
            return have_resource;
        }

        public int getHave_comic_review() {
            return have_comic_review;
        }

        public float getComic_score() {
            return comic_score;
        }

        public String getReview_count() {
            return review_count;
        }
    }
}
